package org.yeruyi.common.abs;

import android.app.Service;
import android.support.annotation.UiThread;
import android.util.Log;
import android.widget.Toast;

/**
 * Author:Yeruyi
 * Date:2018/4/3
 * Version:v1.0
 * Scope:
 * Service慢慢封装吧，这里道道挺多
 */
public abstract class AbsRoyService extends Service {

    private static final String TAG = "[AbsRoyService]";

    protected void showServiceMsg(String msg) {
        // 这里存在有可能不是主线程的情况，暂时屏蔽打log
        Log.d(TAG, "showServiceMsg: [msg]" + msg);
//        Toast.makeText(getApplicationContext(),msg,Toast.LENGTH_SHORT).show();;
    }
}
